import java.util.Scanner;




/*
class A {
    int age = 10;
    String name = "zhangsan";
    static int sex;
    int c = 1;

    class inClass {
        int c = 2;

        public void func() {
            System.out.println(A.this.c);
        }
    }
    public void func() {
        System.out.println(age);
        System.out.println(name);
        System.out.println(sex);
    }

    {
        age = 20;
        name = "lisi";
        System.out.println("实例代码块");
    }

    static {
        sex = 1;
        System.out.println("静态代码块");
    }


}
*/

class A{
   int a;
}

class B extends A{
    int b;
}

class C extends B{
    int c;
}

public class Test {

    public static void main(String[] args) {
        A a0 = new A();
        A a1= new B();
        A a2=new C();
    }
    public static void main2(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s;

        while(sc.hasNextLine()){
            s = sc.nextLine();
            boolean[] a = new boolean[200];
            for (int i = 0; i < s.length(); i++){
                char ch = s.charAt(i);
                if (!a[ch]){
                    System.out.print(ch);
                    a[ch] = false;
                }
            }
            System.out.println();
        }
    }

    public void merge(int A[], int m, int B[], int n) {
        int[] tmp = new int[n+m];
        int i = 0, j = 0, k = 0;
        while (i < m && j < n){
            if (A[i] < B[j]) tmp[k++] = A[i++];
            else tmp[k++] = B[j++];
        }

        while (i < m) tmp[k++] = A[i++];
        while (j < n) tmp[k++] = B[j++];

        for (i = 0; i < k; i++) A[i] = tmp[i];
    }

    /*public static void main1(String[] args) {
        //Scanner sc = new Scanner(System.in);
        A a = new A();
        A a2 = new A();
        //*a.func();
        System.out.println();
        a.func();//*

        A.inClass inclass = new A().new inClass();
        inclass.func();
    }*/
}
